package com.ynny.one_dimensional_array01;

public class ArrayDemo03 {
    public static void main(String[] args) {
        //将班级比作一个数组 那么数据类型应该是什么
        Student[] soft231 = new Student[51];

        Student student1 = new Student("202303230101",
                18,"茶先生");
        Student student2 = new Student("202303230102",
                18,"陈先生");

        Student student51 = new Student("202303230102",
                18,"🐻女士");

        soft231[0] = student1;
        soft231[1] = student2;
        //...省略
        soft231[50] = student51;

//        soft231[0] = "张三,18,2023232323";

//        System.out.println(soft231[0].getStuNo);


    }
}
